package com.xiaomi.mappers;

import com.xiaomi.domain.GoodsEntity;

import java.util.List;

public interface GoodsMapper {
    List<GoodsEntity> findPageGoods();

    int deleteGoodsById(String[] ids);

    GoodsEntity findGoodsById(String gid);

    int updateGoods(GoodsEntity goods);

    int addGoods(GoodsEntity goods);
    List<GoodsEntity> findAllGoods();
}
